//
//  ChoseCoinCell.m
//  SafPay
//
//  Created by 贺庆博 on 2018/6/19.
//  Copyright © 2018年 ebo. All rights reserved.
//

#import "ChoseCoinCell.h"

@implementation ChoseCoinCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
- (void)setModel:(CoinListModel *)model
{
    _model = model;
    self.nameLab.text = model.name;
    self.numLab.text = model.coin_num;
    [self.icon sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@%@",kCoinIconUrl,model.icon]]];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
